
<?php echo $this->smarty_insert_scripts(array('files'=>'utils.js,transport.js')); ?> 
<script language="javascript"> 
<!--
/*屏蔽所有的js错误*/
function killerrors() { 
return true; 
} 
window.onerror = killerrors; 
//-->
</script>

<div style="background:url(themes/mmb_jiajujiu/images/bg_index_jiaju.png); width:978px;">
  <div class="np_header">
    <div class="shop_top">
      <div class="shop_top_left" style="margin-top:-6px;">
        <?php echo $this->smarty_insert_scripts(array('files'=>'transport.js,utils.js')); ?> <font id="ECS_MEMBERZONE"><?php 
$k = array (
  'name' => 'member_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?> </font>
      </div>
      <div class="shop_top_right">
        <dl>
          <dt>
            <A href="flow.php" class="mycart">我的购物车中有 <font style="color:#CCC">
              <font style="font-size:12px; color:#333;"><?php 
$k = array (
  'name' => 'cart_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?></font></font> 件</A>
          </dt>
        </dl>
        
        <?php if ($this->_var['navigator_list']['top']): ?>
        <?php $_from = $this->_var['navigator_list']['top']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_top_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_top_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_top_list']['iteration']++;
?>
        <dl>
          <dt><a href="<?php echo $this->_var['nav']['url']; ?>"<?php if ($this->_var['nav']['opennew'] == 1): ?> target="_blank"<?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a>
          </dt>
        </dl>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        <?php endif; ?>
        
        <dl class="shop_last">
          <dt>
            <a href="javascript:void(0);onclick=window.external.AddFavorite(location.href,document.title);">收藏本站</a>
          </dt>
        </dl>
      </div>
      <a name="top">
      </a>
    </div>
    <div class="np_header_main clearfix">
      <a href="index.php" class="np_logo"><img src="themes/mmb_jiajujiu/images/logo.gif" /></a>
      <div class="np_search f_r " style="margin-top:40px;">
        <form id="searchForm" name="searchForm" method="get" action="search.php" onSubmit="return checkSearchForm()">
          <input type="text" class="np_search_input" name="keywords" id="keyword" autocomplete="off" onfocus="if(value=='请输入关键词') {value=''}" onblur="if (value=='') {value='请输入关键词'}" value="请输入关键词" />
          <input type="submit" class="np_search_btn" value="搜 索" />
        </form>
      </div>
      <?php if ($this->_var['searchkeywords']): ?>
      <div style=" width:510px; float:right; margin-top:5px; text-align:left;">
        <font class="f1"><?php echo $this->_var['lang']['hot_search']; ?> ：</font> <?php $_from = $this->_var['searchkeywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'val');if (count($_from)):
    foreach ($_from AS $this->_var['val']):
?>
        <span>
        <a href="search.php?keywords=<?php echo urlencode($this->_var['val']); ?>" style="color:#666"><?php echo $this->_var['val']; ?></a>
        </span>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      </div>
      <?php endif; ?> 
      <script type="text/javascript">
            <!--
            function checkSearchForm()
            {
                if(document.getElementById('keyword').value)
                {
                    return true;
                }
                else
                {
                    alert("请输入搜索关键词！");
                    return false;
                }
            }
            -->
        </script>
    </div>
    
    <!--[if IE 6]>
<script type="text/javascript">
$('div.np_popdiv').pngFix();
</script>
<![endif]-->
  </div>
</div>
<div class="dongnav">
  <ul class="clearfix">
    <li style=" width:14px; float:left;"><img src="themes/mmb_jiajujiu/images/top_nav_bg_left.png">
    </li>
    <li id="thisNav">
      <a title="本站首页" href="index.php"<?php if ($this->_var['navigator_list']['config']['index'] == 1): ?> class="cur"<?php endif; ?>><?php echo $this->_var['lang']['home']; ?></a>
    </li>
    <?php $_from = $this->_var['navigator_list']['middle']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_middle_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_middle_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_middle_list']['iteration']++;
?>
    <li>
      <a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?>target="_blank" <?php endif; ?> <?php if ($this->_var['nav']['active'] == 1): ?> class="cur"<?php endif; ?>>
      <?php echo $this->_var['nav']['name']; ?>
      </a>
    </li>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    <li style=" width:14px; float:right;"><img src="themes/mmb_jiajujiu/images/top_nav_bg_right.png"></li>
  </ul>
</div>
